<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>病历模板编辑</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="js_quick.js"></script>
<script type="text/javascript">
	jQuery.noConflict();
</script>
<script type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
	var the_mode="模板";
	
	function on_input_date_click(eldate)
	{
	
		var str="";
		var fmt="yyyy年MM月dd日 HH:mm:ss.SS DD 今年第WW周";
		for(var i=0;i<30;++i)
		{
			var sstr="2019-06-" + $jm.zeroize(i+1,2) + " 18:08:00.432";
			var d=$jm.date_parse(sstr);
			
			//d=new Date(2019,5,i+1,18,8,0,432);
			str=str+  "\n" + sstr + ":" + $jm.date_format(fmt,d);
		}
		alert(str);
	}
	jQuery(document).ready(function(e) {
		
		
		jQuery("textarea.ta_field").bind("input propertychange",function(){$jm.textareaAutoHeight(this);});
		jQuery("input[type='datetime']").bind("click",
			function()
			{
				//alert(this.getAttribute("readonly").toString());
				if(this.getAttribute("readonly")!="true")
					WdatePicker({el:this,dateFmt:this.getAttribute("dateFmt"),lang:'zh-cn'});
		    });
	});
	
</script>
<link href="blmbstyle.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style>
</head>

<body>
<!-- 文档开始 -->
<!-- 入院记录-开始 -->
<div id="ZYBL_RYDJ" class="BLPage" bl_name="入院记录" style="display:block">
	<div align="center">
   	  <span id="rydjL_YYMC" style="font-size:22pt">淮阴区丁集中心卫生院</span>
    </div>
	<div align="center">
    	<span id="rydjL_RYJL" style="font-size:20pt">入院记录</span>
    </div>
  <div style=" margin-top:1em;">
    	<span class="sp_label" style="width:3em; text-align:right">姓名:</span><input id="rydjF_BRXM1" readonly="true" class="ip_field" oninput="on_input_auto_width(this)"  style=" width:5em;" />
        <span class="sp_label" style="width:3.5em; text-align:right">科别:</span><input id="rydjF_DQKS" readonly="true" class="ip_field" style="width:10em" />
        <span class="sp_label" style="width:3.5em; text-align:right">病区:</span><input id="rydjF_DQBQ" readonly="true" class="ip_field" style="width:4em" />
        <span class="sp_label" style="width:3.5em; text-align:right">床号:</span><input id="rydjF_CWH" readonly="true" class="ip_field" style="width:3em" />
        <span class="sp_label" style="width:4em; text-align:right">住院号:</span><input id="rydjF_BLH" readonly="true" class="ip_field" style="width:6em" />
    </div>
    <hr />
  <table width="100%" style=" border-collapse:collapse;min-height:1em">
    	<tr>
        	<td width="9%" align="right" valign="top">姓　名:</td>
            <td width="41%" align="left"><input id="rydjF_BRXM2" class="ip_field" type="text" readonly="true" style="width:5em" /></td>
            <td width="12%" align="right" valign="top">职　　业:</td>
            <td width="38%" align="left"><input id="rydjF_BRZY" class="ip_field" type="text" style="width:12em" /></td>
        </tr>
        <tr>
        	<td width="9%" align="right" valign="top">性　别:</td>
            <td width="41%" align="left"><input id="rydjF_BRXB" class="ip_field" type="text" style="width:3em" /></td>
            <td width="12%" align="right" valign="top">工作单位:</td>
            <td width="38%" align="left"><input id="rydjF_BRXM2" class="ip_field" type="text" style="width:100%"></div></td>
        </tr>
        <tr>
        	<td width="9%" align="right" valign="top">年　龄:</td>
            <td width="41%" align="left"><input id="rydjF_BRNL" class="ip_field" type="text" style="width:5em" /></td>
            <td width="12%" align="right" valign="top">住　　址:</td>
            <td width="38%" align="left"><input id="rydjF_JTZZ" class="ip_field" type="text" style="width:100%" /></td>
        </tr>
        <tr>
        	<td width="9%" align="right" valign="top">婚　姻:</td>
            <td width="41%" align="left"><input id="rydjF_HYZK" class="ip_field" type="text" style="width:5em" /></td>
            <td width="12%" align="right" valign="top">供<span style=" display:inline-block; width:0.5em; height:1em"></span>史<span style=" display:inline-block; width:0.5em; height:1em"></span>者:</td>
            <td width="38%" align="left"><input id="rydjF_GSZ" class="ip_field" type="text" style="width:10em" /></td>
        </tr>
        <tr>
        	<td width="9%" align="right" valign="top">出生地:</td>
            <td width="41%" align="left"><input id="rydjF_CSD" class="ip_field" type="text" style="width:100%"></div></td>
            <td width="12%" align="right" valign="top">入院日期:</td>
            <td width="38%" align="left"><input id="rydjF_RYSJ" class="ip_field" readonly="true" dateFmt="yyyy-MM-dd HH:mm" type="datetime" style="width:9em"></div></td>
        </tr>
        <tr>
        	<td width="9%" align="right" valign="top">民　族:</td>
            <td width="41%" align="left"><input id="rydjF_MZ" class="ip_field"  type="text" style="width:100%" /></td>
            <td width="12%" align="right" valign="top">记录日期:</td>
            <td width="38%" align="left"><input id="rydjF_JLRQ" class="ip_field" dateFmt="yyyy-MM-dd HH:mm" type="datetime" style="width:9em"></div></td>
        </tr>
    </table>
    <hr />
	<div style=" position:relative">
    	<textarea id="rydjF_ZS" rows="1" class="ta_field" placeholder="主诉" style=" text-indent:4em; width:100%"></textarea>
        <div class="abs_label">主　诉:</div>
    </div>
    <div style=" position:relative">
    	<textarea id="rydjF_XBS" rows="1" class="ta_field" placeholder="现病史" style=" text-indent:4em; width:100%"></textarea>
        <div class="abs_label">现病史:</div>
    </div>
    <div style=" position:relative">
    	<textarea id="rydjF_JWS" rows="1" class="ta_field" placeholder="既往史" style=" text-indent:4em; width:100%"></textarea>
        <div class="abs_label">既往史:</div>
    </div>
    <div style=" position:relative">
    	<textarea id="rydjF_GRS" rows="1" class="ta_field" placeholder="个人史" style=" text-indent:4em; width:100%"></textarea>
        <div class="abs_label">个人史:</div>
    </div>
    <div style=" position:relative">
    	<textarea id="rydjF_JZS" rows="1" class="ta_field" placeholder="家族史" style=" text-indent:4em; width:100%"></textarea>
        <div class="abs_label">家族史:</div>
    </div>
    <hr />
    <div align="center" style="color:#00F">体格检查</div>
    <div style="width:100%" align="center">
        <span>体温</span><input id="rydjF_TW" class="ip_field" style="text-align:center; width:2em" /><span>℃</span><span>　</span>
        <span>脉搏</span><input id="rydjF_MB" class="ip_field" style="text-align:center; width:2em" /><span>次/分</span><span>　</span>
        <span>呼吸</span><input id="rydjF_HX" class="ip_field" style=" text-align:center; width:2em" /><span>次/分</span><span>　</span>
        <span>血压</span><input id="rydjF_SSY" class="ip_field" style=" text-align:center; width:2em" /><span>/</span>
                 <input id="rydjF_SZY" class="ip_field" style=" text-align:center; width:2em" /><span>mmHg</span><span>　</span>
        <span>体重</span><input id="rydjF_TZ" class="ip_field" style=" text-align:center; width:2.5em" /><span>Kg</span><span>　</span>
        <span>身高</span><input id="rydjF_SG" class="ip_field" style=" text-align:center; width:2.5em" /><span>cm</span>
  	</div>
    <div>
    	<textarea id="rydjF_TGJC" rows="1" class="ta_field" placeholder="体格检查" style=" text-indent:2em; width:100%"></textarea>
    </div>
    <hr />
    <div align="center" style="color:#00F">专科情况</div>
    <div>
    	<textarea id="rydjF_ZKQK" rows="1" class="ta_field" placeholder="专科情况" style=" text-indent:2em; width:100%"></textarea>
    </div>
    <hr />
    <div align="center" style="color:#00F">实验室及器械检查</div>
    <div>
    	<textarea id="rydjF_SYSJC" rows="1" class="ta_field" placeholder="实验室及器械检查" style=" width:100%"></textarea>
    </div>
    <hr />
    <table width="100%">
    	<td id="rydjL_XZZD" width="11%" valign="top">修正诊断:</td>
        <td width="39%" valign="top">
        	<div><textarea id="rydjF_XZZD" class="ta_field" rows="1" style="width:100%" placeholder="修正诊断"></textarea><div>
            <div align="right"><div id="rydjF_XZZDYS" class="txtfield" style="width:10em"></div></div>
            <div id="rydjL_XZZDRQ" align="right"><span>修正诊断日期:</span><div id="rydjF_XZZDRQ" class="div_date"></div></div>
        </td>
        <td width="11%" valign="top"  onDblClick="if(this.innerText=='初步诊断'){this.innerText='入院诊断';}else{this.innerText='初步诊断';}">入院诊断:</td>
        <td width="39%" valign="top">
        	<div><textarea id="rydjF_CBZD" class="ta_field" rows="1" style="width:100%" placeholder="初步诊断"></textarea><div>
            <div align="right"><div id="rydjF_CBZDYS" class="txtfield" style="width:10em"></div></div>
        </td>
        </tr>	
    </table>	
</div>
<!-- 入院记录-结束 -->

<!-- 病程记录-开始 -->
<div id="ZYBL_BCJL" class="BLPage" bl_name="病程记录" style=" display:block">
	<div align="center">
   	  <span id="rydjL_YYMC" style="font-size:22pt">淮阴区丁集中心卫生院</span>
    </div>
	<div align="center">
    	<span id="rydjL_RYJL" style="font-size:20pt">入院记录</span>
    </div>
  <div style=" margin-top:1em;">
    	<span class="sp_label" style="width:3em; text-align:right">姓名:</span><input id="bcjlF_BRXM1" readonly="true" class="ip_field" oninput="on_input_auto_width(this)"  style=" width:5em;" />
        <span class="sp_label" style="width:3.5em; text-align:right">科别:</span><input id="bcjlF_DQKS" readonly="true" class="ip_field" style="width:10em" />
        <span class="sp_label" style="width:3.5em; text-align:right">病区:</span><input id="bcjlF_DQBQ" readonly="true" class="ip_field" style="width:4em" />
        <span class="sp_label" style="width:3.5em; text-align:right">床号:</span><input id="bcjlF_CWH" readonly="true" class="ip_field" style="width:3em" />
        <span class="sp_label" style="width:4em; text-align:right">住院号:</span><input id="bcjlF_BLH" readonly="true" class="ip_field" style="width:6em" />
    </div>
    <hr />
    <div id="bcjl_panel"  style="width:100%" >
    	<input id="bcjl_length" type="hidden" value="1" />
    	<div id="bcjl_item_1" style="width:100%;padding-top:4pt; padding-bottom:4pt;">
        	<div>
            	<input id="bcjlF_BCRQ_1" class="ip_field" dateFmt="yyyy-MM-dd HH:mm" type="datetime" style=" width:8em" /><span>　　　　</span><input id="bcjlF_BCBT_1" class="ip_field" style=" width:20em" />
            </div>
            <div style="width:100%">
            	<textarea id="bcjlF_BCNR_1" class="ta_field" rows="1" placeholder="病程内容" style=" width:100%; text-indent:2em"></textarea>
            </div>
            <div align="right">
            	<input id="bcjlF_DJR1" class="ip_field" style="width:10em; text-align:right"></div>
            </div>
        </div>
    </div>
</div>
<!-- 病程记录-结束 -->

<!-- 文档结束 -->
</body>
</html>
